package com.company.abs.toyota;

import com.company.abs.CarFactory;
import com.company.abs.ProductCarFactory;
import com.company.abs.SaleCarFactory;

/**
 * 丰田品牌汽车工厂实现类
 */
public class ToyotaCarFactory implements CarFactory {

    @Override
    public ProductCarFactory createProductCar() {
        return new ToyotaProductCar();
    }

    @Override
    public SaleCarFactory createSaleCar() {
        return new ToyotaSaleCar();
    }
}
